package com.wt.service.service;

import com.wt.dao.demo.model.User;
import com.wt.dao.demo.model.UserListModel;
import com.wt.dao.demo.model.UserLogin;

import java.util.List;

public interface UserService {

    public void addUser(User user, UserLogin userLogin) throws Exception;

    public Integer addUser(User user) throws Exception;

    public User selectByUser(User user) throws Exception;

    public void addUserLogin(UserLogin userLogin) throws Exception;

    public UserLogin selectUserLoginByUserName(String userName) throws Exception;

    public UserLogin selectUserLoginByUserNameAndPassWord(String userName,String passWord) throws Exception;

    public User selectByUserId(Integer userId) throws Exception;

    public List<UserListModel> getUserList() throws Exception;

}
